package modellayer;

public class Salg {

	private String dato;
	private int id;
	private double total;
	private boolean status;
	
	private Medarbejder worker;
	
	public Salg(){
		
	}
	
	public Salg(String dato, int id, double total, boolean status, Medarbejder worker){
		this.dato = dato;
		this.id = id;
		this.total = total;
		this.status = status;
		this.worker = worker;
	}
	
	public void setDato(String dato){
		this.dato = dato;
	}
	
	public void setID(int id){
		this.id = id;
	}
	
	public void setTotal(double total){
		this.total = total;
	}
	
	public void setStatus(boolean status){
		this.status = status;
	}
	
	public void setWorker(Medarbejder worker){
		this.worker = worker;
	}
	
	public String getDato(){
		return dato;
	}
	
	public int getID(){
		return id;
	}
	
	public double getTotal(){
		return total;
	}
	
	public boolean getStatus(){
		return status;
	}
	
	public Medarbejder getWorker(){
		return worker;
	}
}
